<?php

namespace platform\controllers;

use platform\core\BaseController;
use platform\interfaces\ShiftInterface;
use cm;
use platform\models\ShiftModel;

class ShiftController extends BaseController implements ShiftInterface
{
    function actionIndex()
    {
        $data = (new ShiftModel())->actionIndex();
        return Cm::$res->render($this, "index", $data, '班次管理');
    }
}